from flask import Flask

app = Flask(__name__)


"""动态路由
"""
@app.route('/users/<user_id>')
def user_info(user_id):
    print(type(user_id))
    return 'hello, {}'.format(user_id)


if __name__ == '__main__':
    app.run()